package com.crm.exception;

public class BusinessExceptionFactory implements ExceptionFactory {

	public Exception create(Exception e)  {
		return e;
	
		/*if(e instanceof DBException){
			throw new DBException(e.getMessage()) ;
		}else if(e instanceof ConvertException){
			throw new ConvertException(e.getMessage()) ;
		}else if(e instanceof BusinessException){
			throw new BusinessException(e.getMessage()) ;
		}else{
			throw new BusinessException(e.getMessage()) ;
		}*/
	}

}
